<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
<table class="tbl-list float-left" width="50%">
    <thead>
        <tr>
            <th colspan="2" class="text-center">
                Chọn một vị trí để gửi
            </th>
        </tr>
    </thead>
    <tbody>
        <?php
            foreach($info as $if)
            {
        ?>
            <tr>
                <td>
                    <p>
                        <a href="javascript:;" onclick="pushIn('<?php echo $if['xx'];?>', '<?php echo $if['yy'];?>');"><?php echo $if['fieldname'].' - '.$if['name'].'['.$if['abbreviated'].']';?></a>
                    </p>
                </td>
                <td class="text-center" width="140px">
                    <p><?php echo $distance;?></p>
                </td>
            </tr>
        <?php
            }
        ?>
    </tbody>
</table>